import i18n from '../../../i18n/i18n'
export const tableOption = {
  border: true,
  stripe: true,
  menuAlign: 'center',
  menuWidth: 350,
  align: 'center',
  refreshBtn: true,
  searchSize: 'mini',
  addBtn: false,
  delBtn: false,
  editBtn: false,
  viewBtn: false,
  selection: true,
  props: {
    label: 'label',
    value: 'value'
  },
  column: [
    // 列表数据
    {
      search: true,
      searchLabelWidth: i18n.t('language') === 'language' ? 100 : 80,
      label: i18n.t('distributionBind.noticetitle'),
      prop: 'msgTitle'
    }, {
      label: i18n.t('coupon.effectiveTime'),
      prop: 'startTime',
      sortable: true
    }, {
      label: i18n.t('distributionBind.failureTime'),
      prop: 'endTime',
      sortable: true
    }, {
      label: i18n.t('distribUserWallet.operator'),
      prop: 'username',
      slot: true
    }
  ]
}
